@layout("/common/_form.html",{js:["/assets/syTravelInfo/jdzs/syTravelInfoJdzs_edit.js"],plugins:["ue"]}){
<style>
    .nonedis{
        display: none;
    }
</style>
<form class="layui-form" id="syTravelInfoForm" lay-filter="syTravelInfoForm">
    <div class="layui-fluid" style="padding-bottom: 75px;">
        <div class="layui-card">
            <div class="layui-card-header">基本信息</div>
            <div class="layui-card-body">
                <div class="layui-form-item layui-row">
                    <input name="id" type="hidden"/>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">景点名称<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="name" name="name" placeholder="请输入景点名称" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12 nonedis">
                        <label class="layui-form-label">推荐分类<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="type" name="type" value="酒店住宿" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">是否推荐<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input type="radio" name="recommend" value="热点推荐" title="热点推荐">
                            <input type="radio" name="recommend" value="非热点推荐" title="非热点推荐" checked>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">地点<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="place" name="place" placeholder="请输入地点" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">开放时间<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="openTime" name="openTime" placeholder="请输入开放时间" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">联系电话<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="phone" name="phone" placeholder="请输入联系电话" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">具体地址<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="address" name="address" placeholder="请输入具体地址" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">经度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="longitude" name="longitude" placeholder="请输入经度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">维度<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="latitude" name="latitude" placeholder="请输入维度" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>

                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">浏览量计算<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="pageView" name="pageView" placeholder="请输入浏览量计算" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">创建时间<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="createTime" name="createTime" placeholder="请输入创建时间" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">创建人<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="createUser" name="createUser" placeholder="请输入创建人" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">更新时间<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="updateTime" name="updateTime" placeholder="请输入更新时间" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <!--                    <div class="layui-inline layui-col-md12">-->
                    <!--                        <label class="layui-form-label">更新人<span style="color: red;">*</span></label>-->
                    <!--                        <div class="layui-input-block">-->
                    <!--                            <input id="updateUser" name="updateUser" placeholder="请输入更新人" type="text" class="layui-input" lay-verify="required" required/>-->
                    <!--                        </div>-->
                    <!--                    </div>-->
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">封面图片<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <!--                            <input id="coverPhoto" name="coverPhoto" placeholder="请输入封面图片" type="text" class="layui-input" lay-verify="required" required/>-->
                            <button type="button" class="layui-btn" id="uploadPhoto">
                                <i class="layui-icon">&#xe67c;</i>上传图片
                            </button>
                            <span style="color: #90111A"> &nbsp;&nbsp;友情提示：为防止图片失真，推荐使用750*500像素图片！</span>
                            <div class="layui-upload-list">
                                <img class="layui-upload-img" id="photoView"
                                     style="height: 150px;width: 150px">
                                <p style="width: 150px;" align="center">图片预览</p>
                            </div>
                            <input id="coverPhoto" name="coverPhoto" type="hidden" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">首页简介<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <!--                            <input id="homePageIntroduction" name="homePageIntroduction" placeholder="请输入首页简介" type="text" class="layui-input" lay-verify="required" required/>-->
                            <textarea  placeholder="请输入首页列表中简单介绍" maxlength=50  id="homePageIntroduction" name="homePageIntroduction" class="layui-textarea" lay-verify="required" required/></textarea>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">顶部图片<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <button type="button" class="layui-btn layui-btn-normal" id="uploadImagesTitle">上传多图片
                            </button>
                            <span style="color: #90111A"> &nbsp;&nbsp;友情提示：为防止图片失真，推荐使用750*500像素图片！</span>
                            <blockquote class="layui-elem-quote layui-quote-nm" style="margin-top: 10px;">
                                预览图：
                                <div class="layui-upload-list" id="imagesTitlePrew" style="width: 375px"></div>
                            </blockquote>
                            <input id="topImgUrl" name="topImgUrl" type="hidden" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">具体介绍<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <!--                            <input id="introduction" name="introduction" placeholder="请输入具体介绍" type="text" class="layui-input" lay-verify="required" required/>-->
                            <script id="introduction" name="introduction" type="text/plain" lay-verify="required" required></script>
                        </div>
                    </div>
                    <div class="layui-inline layui-col-md12">
                        <label class="layui-form-label">排序<span style="color: red;">*</span></label>
                        <div class="layui-input-block">
                            <input id="sort" name="sort" placeholder="请输入排序" type="text" class="layui-input" lay-verify="required" required/>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div class="form-group-bottom text-center">
        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
        <button type="reset" class="layui-btn layui-btn-primary" ew-event="closeDialog">&emsp;取消&emsp;</button>
    </div>

</form>

@}